export interface loginFormData {
  username: string
  password: string
}

interface loginToken {
  token: string
  message: string
}
interface userInfo {
  checkUser: checkUser
}
interface checkUser {
  userId: number
  avatar: string
  username: string
  password: string
  desc: string
  roles: string[]
  buttons: string[]
  routes: string[]
  token: string
}
export interface loginResponseData {
  code: number
  data: loginToken
}

export interface userInfoReponseData {
  code: number
  data: userInfo
}
